/* 
  首页预约列表item
 */
<template>
  <div class="home-order-list-item">
    <div class="home-order-list-item--content">
      <div class="home-order-list-item--title">
        <slot name="title" ></slot>
      </div>
      <div>
        <slot name="label"></slot>
      </div>
    </div>
    <div class="home-order-list-item--action">
      <slot name="action" />
    </div>
  </div>
</template>

<script>
import _ from "lodash";
import utils from "../../../utils/utils";
export default {
  props: {},
  computed: {},
  methods: {},
};
</script>
<style lang="scss">
.home-order-list-item {
  display: block;
  background-color: #fff;
  align-items: center;
  font-size: 12px;
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
  margin-bottom: 5px;
  p {
    white-space: nowrap;
    overflow: hidden;
  }
  .home-order-list-item--title {
    line-height: 18px;
    font-size: 16px;
    padding: 10px 0px 7px;
  }
  .home-order-list-item--content {
    padding: 0 10px;
    line-height: 2;
  }
  .home-order-list-item--action {
    font-size: 14px;
    line-height: 0.6rem;
    padding: 0.12rem 0;
    color: #03a9f4;
    border-top: 1px solid #eee;
    display: flex;
    > * {
      flex: 1;
      text-align: center;
      display: block;
      border-right: 1px solid #eee;
      &:last-child {
        border-right: 0;
      }
    }
    &:empty {
      display: none;
    }
  }
}
</style>

